package com.gongqi.org.service;

import com.gongqi.base.BaseQuery;
import com.gongqi.base.BaseService;
import com.gongqi.org.domain.Department;
import com.gongqi.org.query.DepartmentQuery;
import com.gongqi.utils.PageList;

import java.io.Serializable;
import java.util.List;

public interface DepartmentService extends BaseService<Department> {
//    Department getById(Serializable id);
//    List<Department> getAll();
//
//    void del(Serializable id);
//    void add(Department department);
//    void update(Department department);
//
//    //分页   查询总数 + 查询当前页数据--->service中封装为PageList返回
//
//    PageList<Department> queryPage(DepartmentQuery query);
}
